package com.ce.webframework.sec.service.impl;

import java.util.List;

import com.ce.webframework.sec.model.SecShortcutDO;
import com.ce.webframework.sec.model.SecShortcutTempDO;
import com.ce.webframework.sec.service.ISecShortcutService;
import com.ce.webframework.sec.dao.ISecShortcutDao;

public class SecShortcutServiceImpl implements ISecShortcutService {
	private ISecShortcutDao secPageShortcutDao;


	public void setSecPageShortcutDao(ISecShortcutDao secPageShortcutDao) {
		this.secPageShortcutDao = secPageShortcutDao;
	}





	public List<SecShortcutDO> getUseCutModes(Long userId,String type,Long epId,List <String>functionIds){
		return secPageShortcutDao.getUseCutModes(userId, type, epId,functionIds);
	}

	public List<SecShortcutTempDO> getUnuseCutModes(List functionIds){
		return secPageShortcutDao.getUnuseCutModes(functionIds);
	}


	public void updateShortcut(String optionFlag, Long shortcutId, Long userId,Long epId){
		secPageShortcutDao.updateShortcut(optionFlag,  shortcutId,  userId, epId);


	}





	public List<SecShortcutTempDO> getAllCutModes(String type, List functionIds,Long epId) {
		// TODO Auto-generated method stub
		return secPageShortcutDao.getAllCutModes(type,functionIds,epId);
	}

}
